
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="/bs/bs.jsp"></jsp:include>


<div class="navbar-wrapper">
    <div class="container">

        <nav class="navbar navbar-inverse navbar-static-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">市第二人民医院</a>
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#">首页</a></li>
                        <li><a href="#about">关于我们</a></li>
                        <li><a href="ol.jsp">在线预约</a></li>
                        <li><a href="#contact">医疗咨询</a></li>
                        <li><a href="#contact">联系我们</a></li>
                        <li><a href="/bk/index.html">管理员登录</a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <c:if test="${empty u }">
                            <li><a href="login.jsp">登录</a></li>
                            <li><a href="reg.jsp">注册</a></li>
                        </c:if>
                        <c:if test="${!empty u }">
                            <li><a href="info.jsp">欢迎你${u.ui.drealname }</a></li>
                            <c:if test="${u.rid==4}">
                                <li><a href="addNew.jsp">新闻发布</a></li>
                            </c:if>
                            <li><a href="logout">注销</a></li>
                        </c:if>
                        <li><a href="#contact"></a></li>
                        <li><a href="#contact"></a></li>
                    </ul>
                </div>
            </div>
        </nav>

    </div>
</div>